package com.mock.dao.impl;

import java.util.List;

import com.mock.dao.AccreditationDao;
import com.mock.model.Accreditation;
import com.mock.model.Organisation;

public class AccreditationDaoImpl extends GenericDaoImpl<Accreditation, Long> implements AccreditationDao{

	@Override
	public List<Accreditation> getAllAccreditation() {
		
		return super.getAll(Accreditation.class);
	}

	@Override
	public Accreditation getById(long id) {
		
		return super.getById(Accreditation.class, id);
	}

	@Override
	public List<Long> getOrganisationDetailsTwoByOrganisationGerneric(
			Organisation organisation) {
		return super.getOrganisationDetailsTwoByOrganisation(organisation, Accreditation.class, "accreditation");
	}
}
